import assessCheckApi from './api'
import { axios } from '@/utils/request'

// 分页查询-工资套餐类型
export function list(params){
  return axios({
    url: assessCheckApi.list,
    method:'get',
    params:{...params},
    url_1:'outside',
  })
}

// 删除工资套餐
export function deleteGztc(params){
  return axios({
    url: assessCheckApi.deleteGztc,
    method:'delete',
    params:{...params},
    url_1:'outside',
  })
}

// 查询工资套餐类型详情
export function queryGztclxById(params){
  return axios({
    url: assessCheckApi.queryGztclxById,
    method:'get',
    params:{...params},
    url_1:'outside',
  })
}

// 导出工资套餐类型对应模板
export function exportGztclxMb(params){
  return axios({
    url: assessCheckApi.exportGztclxMb,
    method:'get',
    params:{...params},
    url_1:'outside',
    responseType: 'arraybuffer'
  })
}

// 获取所有工资项库数据
export function getAllGzxkList(params){
  return axios({
    url: assessCheckApi.getAllGzxkList,
    method:'get',
    params:{...params},
    url_1:'outside',
  })
}
